package com.itheima.exception;

public class Demo01 {

    public static void main(String[] args) {
        int[] arr={11,22,33,44,55};
System.err.println("我红了吗?");
       System.out.println(arr[10]);//ArrayIndexOutOfBoundsException
        arr=null;
        System.out.println(arr[0]);//NullPointerException

    }

}
